using System;
using System.Collections.Generic; 
using System.Collections;
using System.Linq;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema; 
using System.Xml.Linq; 
using System.Xml.XPath;
using Metaspec;
using AbstraX.ParserInterfaces;

namespace CsParser
{
	/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='positional_argument_list']/AssemblyType[@Type='Metaspec.CsPositionalArgumentList']/FieldElement[@Property='list']/AssemblyType[@Type='Metaspec.CsExpression']
	/// Name=CsExpression
	/// 
	/// ****************** DataType ******************
	/// 
	/// Type='CsExpression'
	/// FQN='Metaspec.CsExpression'
	/// IsCollectionType='False'
	/// 
	/// 
	/// ****************** Description ******************
	/// 
	/// Field Type
	/// 
	/// 
	/// ****************** Modifiers ******************
	/// 
	/// CanRead=false
	/// CanWrite=false
	/// IsLocal=false
	/// NotNavigable=false
	/// NotApplicable=false
	/// 
	/// **********************************************
 	public class CodeExpression : CodeNode, ICodeExpression
	{
		private CsExpression csExpression;

        public CodeExpression(CsExpression csExpression) : base(csExpression)
        {
            this.csExpression = csExpression;
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: separator_token
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='positional_argument_list']/AssemblyType[@Type='Metaspec.CsPositionalArgumentList']/FieldElement[@Property='list']/AssemblyType[@Type='Metaspec.CsExpression']/FieldAttribute[@Field='separator_token']
		/// Name=separator_token
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='Int32'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public Int32 Separator_token 
        { 
            get
            {
				return csExpression.separator_token;
            }
            set
            {
				csExpression.separator_token = value;
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'ec' returns type: 'Metaspec.expression_classification'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public expression_classification Ec 
        { 
            get
            {
				return new expression_classification(csExpression.ec);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'entity_typeref' returns type: 'Metaspec.CsEntityTypeRef'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsEntityTypeRef Entity_typeref 
        { 
            get
            {
				return new CsEntityTypeRef(csExpression.entity_typeref);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'entity' returns type: 'System.Object'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public Object Entity 
        { 
            get
            {
				return new Object(csExpression.entity);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'conversion' returns type: 'Metaspec.CsConversion'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsConversion Conversion 
        { 
            get
            {
				return new CsConversion(csExpression.conversion);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'constant_or_attribute_value' returns type: 'Metaspec.CsConstantOrAttributeValue'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsConstantOrAttributeValue Constant_or_attribute_value 
        { 
            get
            {
				return new CsConstantOrAttributeValue(csExpression.constant_or_attribute_value);
            }
        }

    }
}
